package com.tulingxueyuan.order.feign;

import com.tulingxueyuan.order.feign.impl.StockFeignServiceFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description: TODO
 * @Author li
 * @Date 2025/4/25 15:37
 */
@FeignClient(name = "stock-service", path = "/stock", fallback = StockFeignServiceFallback.class)
public interface StockFeignService {
    @RequestMapping("/reduce2")
    String reduce2();
}
